combobox: Fix compilation warnings - missing cast
authorBenjamin Otte <otte@redhat.com>
Tue, 28 Sep 2010 16:24:14 +0000 (18:24 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 28 Sep 2010 16:24:14 +0000 (18:24 +0200)
gtk/gtkcombobox.c

index f8ce6db0ee27b814c5cd6fdfdb1dd274ed6783eb..6076c6ccfd6e7d4c68940facf0361aee91fa0321 100644 (file)
@@ -1283,7 +1283,7 @@ gtk_combo_box_remove (GtkContainer *container,
   gtk_widget_unparent (widget);
   _gtk_bin_set_child (GTK_BIN (container), NULL);
 
-  if (gtk_widget_in_destruction (combo_box))
+  if (gtk_widget_in_destruction (GTK_WIDGET (combo_box)))
     return;
 
   gtk_widget_queue_resize (GTK_WIDGET (container));